FROM frolvlad/alpine-oraclejdk8:slim
VOLUME /tmp
ADD first-server/target/first-server.jar first-server.jar
RUN sh -c 'touch /first-server.jar'
ENV JAVA_OPTS=""
ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /first-server.jar" ]
